﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace Creator 
{
    public static class WPFExtensions
    {
        public static void ToggleUIVisable(this FrameworkElement fe)
        {
            if (fe == null) return;
            fe.Visibility = fe.Visibility == Visibility.Visible ? Visibility.Collapsed : Visibility.Visible;
        }
    }
}
